package com.hqj.entity;

import org.springframework.stereotype.Component;

import java.util.Date;

public class InfoUser {
    private Integer id;
    private String loginName;
    private String userName;
    private String password;
    private String mobile;
    private Date birthday;

    public InfoUser() {
    }

    public InfoUser(Integer id, String loginName, String userName, String password, String mobile, Date birthday) {
        this.id = id;
        this.loginName = loginName;
        this.userName = userName;
        this.password = password;
        this.mobile = mobile;
        this.birthday = birthday;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    @Override
    public String toString() {
        return "InfoUser{" +
                "id=" + id +
                ", loginName='" + loginName + '\'' +
                ", userName='" + userName + '\'' +
                ", password='" + password + '\'' +
                ", mobile='" + mobile + '\'' +
                ", birthday=" + birthday +
                '}';
    }
}
